package com.lscl.pay;

import com.alipay.api.domain.MpPrizeInfoModel;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/paySuccess")
public class PaySuccess extends HttpServlet {

    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {



        response.getWriter().write(request.getParameterMap() + "");
        response.getWriter().flush();
        response.getWriter().close();
        response.sendRedirect("");


    }
}
